<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserGroup extends Model
{
    protected $table = 'user_group';

    protected $primaryKey = 'id';

    public function adminuser()
    {
        return $this->hasOne('App\Models\User','groupid');
    }
}